package com.ruoyi.voucher.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @BelongsProject: RuoYi-Cloud-master
 * @BelongsPackage: com.ruoyi.voucher.vo
 * @Author: songYuHang
 * @CreateTime: 2025-02-26  20:08
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SubjectVo {

    private static final long serialVersionUID = 1L;

    /** 科目ID */
    private Long subjectId;

    /** 科目编码 */
    private String subjectCode;

    private Long parentId;

    /** 科目名称 */
    private String subjectName;

    /** 科目类型 */
    private Long typeId;

    /** 余额方向（0-借方 1-贷方） */
    private Integer balanceDirection;

    /** 辅助核算项 */
    private String auxiliaryItems;

    /** 启用状态 0禁用 1启用  */
    private Integer isEnabled;

    /** 逻辑删除 */
    private Integer isDeleted;


    private String typeName;

    private List<SubjectVo> children;


}
